# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=morbid
pkgver=0.8.7.3
pkgrel=8
pkgdesc='A Twisted-based publish/subscribe messaging server that uses the STOMP protocol.'
arch=('any')
url='https://pypi.org/project/morbid/#files'
license=('MIT')
depends=('python2')
makedepends=('python2-distribute')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/morbid-$pkgver.tar.gz")
sha512sums=('50a01e75ecf1691dcb6f4354647038627196eb4cd37d6e44812912bf0890870d307c8705f6894ecc389a86508d2dc81ed9195408b922c5ad140104a9b78c26dc')

package() {
  cd "$pkgname-$pkgver"

  python2 setup.py install --root="$pkgdir" --prefix=/usr
}

